package com.jiyun.information;

import com.jiyun.model.information.ZlTeam;
import com.jiyun.result.Result;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "service-information")
public interface ZlTeamClient {
    @ApiOperation("根据ID查询")
    @RequestMapping("team/get/{id}")
    ZlTeam getById(@PathVariable Integer id);
    @ApiOperation("查询所有")
    @RequestMapping("team/findTeam")
    Result findDoctor();
}
